import { createApp } from 'vue'

import App from './App.vue'

// 1. 引入你需要的组件
import vant from 'vant';
// 2. 引入组件样式
import 'vant/lib/index.css';

// 加入路由
import router from './router/index'

// 引入 pina
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'



const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

const app = createApp(App)
app.use(vant)
app.use(router)
app.use(pinia)


app.mount('#app1')
